import React, { useEffect } from 'react';
import logo from '@/logo.svg';
// import './App.css';
import './App.less';

import axios from 'axios';
import { Button } from 'antd';

function App() {
  useEffect(() => {
    axios.get('cnode/topics').then(res=>{
      console.log(res)
    })
    return () => {
      // cleanup
    }
  }, [])
  return (
    <div className="App">
      速度
      <Button type="primary">Button</Button>
      <img src={logo} className="App-logo" alt="logo" />
      <a href="/">dsf </a>
    </div>
  );
}

export default App;
